feat: fetch leave encashment amount from Salary Structure Assignment #2296
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Closes #1275
The amount will be fetched from the Salary Structure in the Salary Structure Assignment Doctype if it is empty; otherwise, the user can manually enter the amount.
![image](https://private-user-images.githubusercontent.com/67804911/373926696-5269c68d-e6b5-4532-b625-c2949a8397e6.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NzMwNjksIm5iZiI6MTczOTY3Mjc2OSwicGF0aCI6Ii82NzgwNDkxMS8zNzM5MjY2OTYtNTI2OWM2OGQtZTZiNS00NTMyLWI2MjUtYzI5NDlhODM5N2U2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDAyMjYwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAzMDIwNWEyZTI1NDExMmZmZDY4NzQ5MjM3OGZjNDhmMzNkNzQxMjQ4NmM2NTdmMTIzZjY1MDFlNjZmYzY4NjUmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.b6q-CpBbDfhKr8jDAMVjA5CECePx4Z-R0ct2hUdtj9I)
Leave Encashment
![image](https://private-user-images.githubusercontent.com/67804911/373926772-f301d9db-46e8-4363-88aa-2bbbf1483776.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NzMwNjksIm5iZiI6MTczOTY3Mjc2OSwicGF0aCI6Ii82NzgwNDkxMS8zNzM5MjY3NzItZjMwMWQ5ZGItNDZlOC00MzYzLTg4YWEtMmJiYmYxNDgzNzc2LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAyMTYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMjE2VDAyMjYwOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPWJhYWFlMzgwOTRiZmU3MThmYjc2YTUwZmQxMDgwYzRjYjIzYTgwYTdjMGI4MzFmMjY1MGE1YWIwNzg0ZmNjYWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.1c7UT11baFVdYVtvLev5prx4L2BNw8hM_GRv7j8c0no)
no-docs